package com.wootide.ets.sys.menu.pojo;

import java.util.HashSet;
import java.util.Set;
/**
 * 
 *菜单pojo类
 * 〈功能详细描述〉
 * @author ozm
 * @version 2013-1-22
 * @see MenuInfo
 * @since 上午10:58:42
 */
public class MenuInfo implements java.io.Serializable
{
    
    /**
     * 意义，目的和功能，以及被用到的地方<br>
     */
    private static final long serialVersionUID = 1L;

    /**
     * 菜单ID
     */
    private String menuId;
    
    /**
     * 菜单名称
     */
    private String menuName;
    
    /**
     * 菜单Url
     */
    private String menuUrl;
    
    /**
     * 菜单优先级
     */
    private Integer priority;
    
    private Integer isFinalMenu;
    
    /**
     * 父菜单ID
     */
    private String parentId;
    
    /**
     * 是否显示(与系统版本号有关)
     */
    private Integer isShow;
    
    /**
     * 菜单描述
     */
    private String menuDesc;
    
    /**
     * 子菜单
     */
    @SuppressWarnings("rawtypes")
    private Set children = new HashSet();
    
    /**
     * 授权信息
     */
    @SuppressWarnings("rawtypes")
    private Set authorityMenus = new HashSet(0);
    
    // Constructors
    
    /** default constructor */
    public MenuInfo()
    {
        
    }
    
    @SuppressWarnings("rawtypes")
    public Set getAuthorityMenus()
    {
        return authorityMenus;
    }
    @SuppressWarnings("rawtypes")
    public void setAuthorityMenus(Set authorityMenus)
    {
        this.authorityMenus = authorityMenus;
    }

    /** minimal constructor */
    public MenuInfo(String menuId, String menuName)
    {
        this.menuId = menuId;
        this.menuName = menuName;
    }
    
    /** full constructor */
    public MenuInfo(String menuId, String menuName, String menuUrl,
            Integer priority, String parentId, Integer isShow, String menuDesc,
            Set authorityMenus)
    {
        this.menuId = menuId;
        this.menuName = menuName;
        this.menuUrl = menuUrl;
        this.priority = priority;
        this.parentId = parentId;
        this.isShow = isShow;
        this.menuDesc = menuDesc;
        this.authorityMenus = authorityMenus;
    }
    
    // Property accessors
    
    public String getMenuId()
    {
        return this.menuId;
    }
    
    public void setMenuId(String menuId)
    {
        this.menuId = menuId;
    }
    
    public String getMenuName()
    {
        return this.menuName;
    }
    
    public void setMenuName(String menuName)
    {
        this.menuName = menuName;
    }
    
    public String getMenuUrl()
    {
        return this.menuUrl;
    }
    
    public void setMenuUrl(String menuUrl)
    {
        this.menuUrl = menuUrl;
    }
    
    public Integer getPriority()
    {
        return this.priority;
    }
    
    public void setPriority(Integer priority)
    {
        this.priority = priority;
    }
    
    public String getParentId()
    {
        return parentId;
    }

    public void setParentId(String parentId)
    {
        this.parentId = parentId;
    }

    public Integer getIsShow()
    {
        return this.isShow;
    }
    
    public void setIsShow(Integer isShow)
    {
        this.isShow = isShow;
    }
    
    public String getMenuDesc()
    {
        return this.menuDesc;
    }
    
    public void setMenuDesc(String menuDesc)
    {
        this.menuDesc = menuDesc;
    }

    @SuppressWarnings("rawtypes")
    public Set getChildren()
    {
        return children;
    }

    @SuppressWarnings("rawtypes")
    public void setChildren(Set children)
    {
        this.children = children;
    }

    public Integer getIsFinalMenu()
    {
        return isFinalMenu;
    }

    public void setIsFinalMenu(Integer isFinalMenu)
    {
        this.isFinalMenu = isFinalMenu;
    }

    
    
}